package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 睡眠类型对象 az_ring_sleep_type
 * 
 * @author liuwp
 * @date 2025-08-27
 */
@Data
public class RingSleepType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关联az_ring_sleep_detail表id */
    @Excel(name = "关联az_ring_sleep_detail表id")
    private Long ringSleepId;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 睡眠时类型 */
    @Excel(name = "睡眠时类型")
    private String sleepChronotype;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String highConfidence;

    /** 就寝时间 */
    @Excel(name = "就寝时间")
    private Integer bedtime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ringSleepId", getRingSleepId())
            .append("state", getState())
            .append("sleepChronotype", getSleepChronotype())
            .append("highConfidence", getHighConfidence())
            .append("bedtime", getBedtime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
